<?xml version="1.0" encoding="UTF-8"?>
<!--
    Document   : PrevisaoCadastrar
    Created on : 06/03/2009, 08:25:35
    Author     : Jaime Junior
-->
<jsp:root version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:ice="http://www.icesoft.com/icefaces/component" xmlns:jsp="http://java.sun.com/JSP/Page">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
        <ice:outputHtml id="outputHtml1">
            <ice:outputHead id="outputHead1">
                <ice:outputStyle href="./resources/stylesheet.css" id="outputStyle1"/>
                <ice:outputStyle href="./resources/camposDesabilitados.css" id="outputStyle3"/>
                <ice:outputStyle href="./xmlhttp/css/xp/xp.css" id="outputStyle2"/>
                <script>
                  function hidden(){
                    document.body.style.overflow='hidden';
                  }
                  function mascara(o,f){
                    v_obj=o;
                    v_fun=f;
                    setTimeout("execmascara()",1);
                  }
                  /* Função para executar a mascara */
                  function execmascara(){
                    v_obj.value=v_fun(v_obj.value);
                  }
                  function mvalor(v){
                    v=v.replace(/\D/g,"");//Remove tudo o que não é dígito
                    v=v.replace(/(\d)(\d{2})$/,"$1.$2");//coloca a virgula antes dos 2 últimos dígitos
                    return v;
                  }
                </script>
                <title> Gerenciamento de Previsões</title>
            </ice:outputHead>
            <body onload="hidden()">
                <ice:outputBody id="outputBody1" style="-rave-layout: grid">
                    <ice:form id="form1">
                        <ice:panelPopup autoCentre="true" binding="#{Previsoes$PrevisaoCadastrar.painelSair}" draggable="false" id="painelSair" modal="true"
                            rendered="#{Previsoes$PrevisaoCadastrar.painelPopupSair.showDraggablePanel}"
                            style="height: 210px; left: 0px; right: 200px; top: 552px; bottom: 200px; position: absolute; width: 405px" visible="#{Previsoes$PrevisaoCadastrar.painelPopupSair.showModalPanel}">
                            <f:facet name="header">
                                <ice:panelGrid id="painelSairCabecalho" style="display: block; height: 30px; width: 180px">
                                    <ice:outputText id="msgSairTitulo" style="text-align: left" value="Sair"/>
                                </ice:panelGrid>
                            </f:facet>
                            <f:facet name="body">
                                <ice:panelLayout id="painelSairCorpo" layout="flow" style="display: block; height: 180px; position: absolute; width: 405px; -rave-layout: grid">
                                    <ice:outputText id="msgPainelSair"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 18px; left: 24px; top: 24px; position: absolute; text-align: center; width: 357px" value="Tem certeza que deseja sair dessa tela?"/>
                                    <ice:commandButton action="#{Previsoes$PrevisaoCadastrar.botaoSairSim_action}"
                                        binding="#{Previsoes$PrevisaoCadastrar.botaoSairSim}" id="botaoSairSim" image="/resources/botaoSim.png" immediate="true"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 16px; left: 30%; top: 55%; position: absolute" value="Sim"/>
                                    <ice:commandButton action="#{Previsoes$PrevisaoCadastrar.botaoSairNao_action}"
                                        binding="#{Previsoes$PrevisaoCadastrar.botaoSairNao}" id="botaoSairNao" image="/resources/botaoNao.png" immediate="true"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 16px; right: 30%; top: 55%; position: absolute" value="Não"/>
                                </ice:panelLayout>
                            </f:facet>
                        </ice:panelPopup>
                        <ice:panelPopup autoCentre="true" binding="#{Previsoes$PrevisaoCadastrar.painelAviso}" draggable="false" id="painelAviso" modal="true"
                            rendered="#{Previsoes$PrevisaoCadastrar.painelPopupAviso.showDraggablePanel}"
                            style="height: 210px; left: 0px; top: 576px; position: absolute; width: 405px" visible="#{Previsoes$PrevisaoCadastrar.painelPopupAviso.showModalPanel}">
                            <f:facet name="header">
                                <ice:panelGrid id="painelAvisoCabecalho" style="display: block; height: 30px; width: 180px">
                                    <ice:outputText id="msgPainelAviso" value="Aviso"/>
                                </ice:panelGrid>
                            </f:facet>
                            <f:facet name="body">
                                <ice:panelLayout id="painelAvisoCorpo" layout="flow" style="display: block; height: 180px; position: absolute; width: 405px; -rave-layout: grid">
                                    <ice:outputText binding="#{Previsoes$PrevisaoCadastrar.msgAvisoResultado}" id="msgAvisoResultado"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 18px; height: 17px; left: 24px; top: 24px; position: absolute; text-align: center; width: 357px" value="Não houve resultado "/>
                                    <ice:outputText binding="#{Previsoes$PrevisaoCadastrar.msgAvisoPergunta}" id="msgAvisoPergunta"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 18px; height: 17px; left: 24px; top: 72px; position: absolute; text-align: center; width: 357px" value="Deseja fazer outra consulta?"/>
                                    <ice:commandButton action="#{Previsoes$PrevisaoCadastrar.botaoAvisoNao_action}"
                                        binding="#{Previsoes$PrevisaoCadastrar.botaoAvisoNao}" id="botaoAvisoNao" image="/resources/botaoNao.png"
                                        immediate="true" partialSubmit="true"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 16px; right: 30%; top: 65%; position: absolute" value="Não"/>
                                    <ice:commandButton action="#{Previsoes$PrevisaoCadastrar.botaoAvisoSim_action}"
                                        binding="#{Previsoes$PrevisaoCadastrar.botaoAvisoSim}" id="botaoAvisoSim" image="/resources/botaoSim.png"
                                        immediate="true"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 16px; left: 30%; top: 65%; position: absolute" value="Sim"/>
                                </ice:panelLayout>
                            </f:facet>
                        </ice:panelPopup>
                        <ice:panelPopup autoCentre="true" binding="#{Previsoes$PrevisaoCadastrar.painelMensagem}" draggable="false" id="painelMensagem"
                            modal="true" rendered="#{Previsoes$PrevisaoCadastrar.painelPopupMensagem.showDraggablePanel}"
                            style="height: 210px; left: 0px; top: 600px; position: absolute; width: 405px" visible="#{Previsoes$PrevisaoCadastrar.painelPopupMensagem.showModalPanel}">
                            <f:facet name="header">
                                <ice:panelGrid id="painelMensagemCabecalho" style="display: block; height: 30px; width: 180px">
                                    <ice:outputText id="msgPainelMensagem" value="Atenção"/>
                                </ice:panelGrid>
                            </f:facet>
                            <f:facet name="body">
                                <ice:panelLayout id="painelMensagemCorpo" layout="flow" style="display: block; height: 180px; position: absolute; width: 405px; -rave-layout: grid">
                                    <ice:outputText binding="#{Previsoes$PrevisaoCadastrar.msgMensagemResultado}" id="msgMensagemResultado"
                                        style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 18px; height: 17px; left: 24px; top: 48px; position: absolute; text-align: center; width: 357px" value="Operação Efetuada com Sucesso"/>
                                    <ice:commandButton action="#{Previsoes$PrevisaoCadastrar.botaoMensagemOk_action}"
                                        binding="#{Previsoes$PrevisaoCadastrar.botaoMensagemOk}" id="botaoMensagemOk" image="/resources/botaoOk.png"
                                        immediate="true"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 16px; left: 45%; top: 70%; position: absolute" value="Ok"/>
                                </ice:panelLayout>
                            </f:facet>
                        </ice:panelPopup>
                        <ice:panelPopup autoCentre="true" binding="#{Previsoes$PrevisaoCadastrar.painelConsulta}" draggable="false" id="painelConsulta"
                            modal="true" rendered="#{Previsoes$PrevisaoCadastrar.panelPopup1Bean.showDraggablePanel}"
                            style="height: 210px; left: 24px; top: 720px; position: absolute; width: 405px" visible="#{Previsoes$PrevisaoCadastrar.panelPopup1Bean.showModalPanel}">
                            <f:facet name="header">
                                <ice:panelGrid id="painelConsultaCabecalho" style="display: block; height: 24px" width="360">
                                    <ice:outputText id="msgPainelConsulta" value="Consulta de Previsões"/>
                                </ice:panelGrid>
                            </f:facet>
                            <f:facet name="body">
                                <ice:panelLayout id="painelConsultaCorpo" layout="flow" style="display: block; height: 180px; position: absolute; width: 405px; -rave-layout: grid">
                                    <ice:commandButton action="#{Previsoes$PrevisaoCadastrar.botaoConsultaOk_action}" id="botaoConsultaOk"
                                        image="/resources/botaoOk.png" immediate="true"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 16px; left: 25%; top: 65%; position: absolute" value="Ok"/>
                                    <ice:commandButton action="#{Previsoes$PrevisaoCadastrar.botaoConsultaCancelar_action}" id="botaoConsultaCancelar"
                                        image="/resources/botaoCancelar.png" immediate="true"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 16px; right: 25%; top: 65%; position: absolute" value="Cancelar"/>
                                    <ice:outputText id="labelConsultaAssociado"
                                        style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 0px; top: 24px; position: absolute; text-align: right; width: 117px" value="Associado:"/>
                                    <ice:outputText id="labelConsultaPrevisao"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 16px; left: 0px; top: 72px; position: absolute; text-align: right; width: 117px" value="Previsão:"/>
                                    <ice:selectOneMenu binding="#{Previsoes$PrevisaoCadastrar.comboAssociadoConsulta}" id="comboAssociadoConsulta"
                                        immediate="true" partialSubmit="true"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; left: 118px; top: 22px; position: absolute; width: 230px"
                                        value="#{Previsoes$PrevisaoCadastrar.associadoSelecionadoConsulta.selectedObject}" valueChangeListener="#{Previsoes$PrevisaoCadastrar.comboAssociadoConsulta_processValueChange}">
                                        <f:selectItems id="selectOneMenu1selectItems2" value="#{Previsoes$PrevisaoCadastrar.associadosConsulta}"/>
                                    </ice:selectOneMenu>
                                    <ice:selectOneMenu binding="#{Previsoes$PrevisaoCadastrar.comboPrevisaoConsulta}" id="comboPrevisaoConsulta"
                                        partialSubmit="true"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; left: 118px; top: 70px; position: absolute; width: 230px" value="#{Previsoes$PrevisaoCadastrar.previsaoSelecionadaConsulta.selectedObject}">
                                        <f:selectItems id="selectOneMenu1selectItems3" value="#{Previsoes$PrevisaoCadastrar.previsoesConsulta}"/>
                                    </ice:selectOneMenu>
                                </ice:panelLayout>
                            </f:facet>
                        </ice:panelPopup>
                        <ice:panelPopup autoCentre="true" draggable="true" id="painelErroSelecione"
                            rendered="#{Previsoes$PrevisaoCadastrar.panelPopup1Bean2.showDraggablePanel}"
                            style="height: 210px; left: 552px; top: 624px; position: absolute; width: 405px" visible="#{Previsoes$PrevisaoCadastrar.panelPopup1Bean2.showModalPanel}">
                            <f:facet name="header">
                                <ice:panelGrid id="painelErroCabecalho" style="display: block; height: 30px; width: 180px">
                                    <ice:outputText id="msgPainelErro" value="Atenção"/>
                                </ice:panelGrid>
                            </f:facet>
                            <f:facet name="body">
                                <ice:panelLayout id="painelErroCorpo" layout="flow" style="display: block; height: 180px; position: absolute; width: 405px; -rave-layout: grid">
                                    <ice:outputText id="msgErroResultado"
                                        style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 18px; height: 17px; left: 24px; top: 48px; position: absolute; text-align: center; width: 357px" value="Selecione uma Empresa antes de clicar em Adicionar!"/>
                                    <ice:commandButton action="#{Previsoes$PrevisaoCadastrar.botaoErroOk_action}" id="botaoErroOk"
                                        image="/resources/botaoOk.png" immediate="true"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 16px; left: 45%; top: 70%; position: absolute" value="Ok"/>
                                </ice:panelLayout>
                            </f:facet>
                        </ice:panelPopup>
                        <ice:panelGroup id="painelGeral" style="height: 768px; margin-left: -512px; left: 50%; top: 0px; position: absolute; width: 1024px">
                            <ice:graphicImage id="imagemFundo"
                                style="height: 768px; margin-left: -512px; left: 50%; top: 0px; position: absolute; width: 1024px" value="/resources/telaPrevisão.jpg"/>
                            <ice:panelLayout id="painelConteudo" layout="flow" style="font-family: 'Courier New',Courier,monospace; font-size: 14px; height: 620px; left: 2%; top: 12%; position: absolute; width: 980px; -rave-layout: grid">
                                <ice:outputText id="labelAssociado"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 24px; top: 72px; position: absolute; text-align: left; width: 213px" value="Nome do Associado:"/>
                                <ice:outputText id="labelDataFim"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 24px; top: 216px; position: absolute; text-align: left; width: 285px" value="Data Fim Previsão:"/>
                                <ice:outputText id="labelDataInicio"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 24px; top: 144px; position: absolute; text-align: left; width: 285px" value="Data Início Previsão:"/>
                                <ice:outputText id="labelProduto"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 24px; top: 288px; position: absolute; text-align: left; width: 285px" value="Produto:"/>
                                <ice:outputText id="labelQuantidade"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 24px; top: 360px; position: absolute; text-align: left; width: 285px" value="Quantidade:"/>
                                <ice:outputText id="labelDe"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 504px; top: 96px; position: absolute; text-align: right; width: 46px" value="De:"/>
                                <ice:outputText id="labelAte"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 744px; top: 96px; position: absolute; text-align: right; width: 46px" value="Ate:"/>
                                <ice:message errorClass="iceMsgError errorMessage" fatalClass="iceMsgFatal fatalMessage" for="campoDataInicio"
                                    id="msgDataInicio" infoClass="iceMsgInfo infoMessage" showSummary="true"
                                    style="color: red; font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 14px; font-style: normal; font-weight: bold; height: 20px; left: 24px; top: 192px; position: absolute; width: 429px" warnClass="iceMsgWarn warnMessage"/>
                                <ice:message errorClass="iceMsgError iceMsgError errorMessage" fatalClass="iceMsgFatal iceMsgFatal fatalMessage"
                                    for="campoDataFim" id="msgDataFim" infoClass="iceMsgInfo iceMsgInfo infoMessage" showSummary="true"
                                    style="color: red; font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 14px; font-style: normal; font-weight: bold; height: 20px; left: 24px; top: 264px; position: absolute; width: 429px" warnClass="iceMsgWarn iceMsgWarn warnMessage"/>
                                <ice:message errorClass="iceMsgError errorMessage" fatalClass="iceMsgFatal fatalMessage" for="comboAssociado" id="msgAssociado"
                                    infoClass="iceMsgInfo infoMessage" showSummary="true"
                                    style="color: red; font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 14px; font-style: normal; font-weight: bold; height: 20px; left: 24px; top: 120px; position: absolute; width: 285px" warnClass="iceMsgWarn warnMessage"/>
                                <ice:message errorClass="iceMsgError errorMessage" fatalClass="iceMsgFatal fatalMessage" for="comboProduto" id="msgProduto"
                                    infoClass="iceMsgInfo infoMessage" showSummary="true"
                                    style="color: red; font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 14px; font-style: normal; font-weight: bold; height: 20px; left: 24px; top: 336px; position: absolute; width: 285px" warnClass="iceMsgWarn warnMessage"/>
                                <ice:message binding="#{Previsoes$PrevisaoCadastrar.msgQuantidade}" errorClass="errorMessage" fatalClass="fatalMessage"
                                    for="campoQuantidade" id="msgQuantidade" infoClass="infoMessage" showSummary="true"
                                    style="color: red; font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 14px; font-style: normal; font-weight: bold; height: 20px; left: 24px; top: 408px; position: absolute; width: 285px" warnClass="warnMessage"/>
                                <ice:selectOneMenu binding="#{Previsoes$PrevisaoCadastrar.comboAssociado}" id="comboAssociado" immediate="true"
                                    partialSubmit="true" required="true"
                                    style="font-family: Verdana,Arial,Helvetica,sans-serif; left: 22px; top: 94px; position: absolute; width: 230px"
                                    title="Selecione um Associado." value="#{Previsoes$PrevisaoCadastrar.associadoSelecionado.selectedObject}" valueChangeListener="#{Previsoes$PrevisaoCadastrar.comboAssociado_processValueChange}">
                                    <f:selectItems id="selectOneMenu1selectItems" value="#{Previsoes$PrevisaoCadastrar.associados}"/>
                                </ice:selectOneMenu>
                                <ice:selectInputDate binding="#{Previsoes$PrevisaoCadastrar.campoDataInicio}"
                                    converter="#{Previsoes$PrevisaoCadastrar.characterConverter1}" id="campoDataInicio" immediate="true"
                                    inputTitle="Selecione a data de início da Previsão." partialSubmit="true" popupDateFormat="dd/MM/yyyy" renderAsPopup="true"
                                    renderMonthAsDropdown="true" renderYearAsDropdown="true" required="true"
                                    style="font-family: Verdana,Arial,Helvetica,sans-serif; left: 22px; top: 168px; position: absolute; visibility: visible; width: 230px; z-index: 2"
                                    value="#{Previsao.dataInicio}" valueChangeListener="#{Previsoes$PrevisaoCadastrar.campoDataInicio_processValueChange}" visible="true"/>
                                <ice:selectInputDate binding="#{Previsoes$PrevisaoCadastrar.campoDataFim}"
                                    converter="#{Previsoes$PrevisaoCadastrar.characterConverter1}" id="campoDataFim" immediate="true"
                                    inputTitle="Selecione a data final da Previsão." partialSubmit="true" popupDateFormat="dd/MM/yyyy" renderAsPopup="true"
                                    renderMonthAsDropdown="true" renderYearAsDropdown="true" required="true"
                                    style="font-family: Verdana,Arial,Helvetica,sans-serif; left: 22px; top: 240px; position: absolute; visibility: visible; width: 230px; z-index: 1"
                                    validator="#{Previsoes$PrevisaoCadastrar.validateData}" value="#{Previsao.dataFim}"
                                    valueChangeListener="#{Previsoes$PrevisaoCadastrar.campoDataFim_processValueChange}" visible="true"/>
                                <ice:selectOneMenu binding="#{Previsoes$PrevisaoCadastrar.comboProduto}" id="comboProduto" immediate="true" required="true"
                                    style="font-family: Verdana,Arial,Helvetica,sans-serif; left: 22px; top: 310px; position: absolute; width: 230px" value="#{Previsoes$PrevisaoCadastrar.produtoSelecionado.selectedObject}">
                                    <f:selectItems id="selectOneMenu1selectItems1" value="#{Previsoes$PrevisaoCadastrar.produtos}"/>
                                </ice:selectOneMenu>
                                <ice:inputText binding="#{Previsoes$PrevisaoCadastrar.campoQuantidade}" id="campoQuantidade" maxlength="10"
                                    onkeypress="mascara(this,mvalor);" partialSubmit="true" required="true"
                                    style="font-family: Verdana,Arial,Helvetica,sans-serif; left: 22px; top: 382px; position: absolute; text-align: right; width: 230px"
                                    title="Informe a quantidade prevista." validator="#{Previsoes$PrevisaoCadastrar.campoQuantidade_validate}" value="#{ItemPrevisao.quantidade}"/>
                                <ice:commandButton action="#{Previsoes$PrevisaoCadastrar.botaoAdicionarProduto_action}"
                                    binding="#{Previsoes$PrevisaoCadastrar.botaoAdicionarProduto}" id="botaoAdicionarProduto" image="/resources/Adicionar.jpg"
                                    style="left: 360px; top: 384px; position: absolute" title="Adicionar Item a Previsão." value="Adicionar"/>
                                <ice:outputText binding="#{Previsoes$PrevisaoCadastrar.infoAssociado}" id="infoAssociado"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 504px; top: 72px; position: absolute; text-align: left; width: 453px" value="#{Previsao.associado.nome}"/>
                                <ice:dataTable binding="#{Previsoes$PrevisaoCadastrar.tabelaPadrao}" id="tabelaPadrao" rows="10"
                                    style="left: 494px; top: 158px; position: absolute" value="#{Previsoes$PrevisaoCadastrar.dataTable1Model}" var="item" width="453">
                                    <ice:column binding="#{Previsoes$PrevisaoCadastrar.column1}" id="column1">
                                        <h:outputText binding="#{Previsoes$PrevisaoCadastrar.variedade}" id="variedade" value="#{item.produto.variedade.nome}"/>
                                        <f:facet name="header">
                                            <ice:outputText id="textoVariedade" value="Variedade"/>
                                        </f:facet>
                                    </ice:column>
                                    <ice:column binding="#{Previsoes$PrevisaoCadastrar.column2}" id="column2">
                                        <h:outputText binding="#{Previsoes$PrevisaoCadastrar.classificacao}" id="classificacao" value="#{item.produto.classificacao.nome}"/>
                                        <f:facet name="header">
                                            <ice:outputText id="textoClassificacao" value="Classificação"/>
                                        </f:facet>
                                    </ice:column>
                                    <ice:column binding="#{Previsoes$PrevisaoCadastrar.column3}" id="column3">
                                        <h:outputText binding="#{Previsoes$PrevisaoCadastrar.campoTabelaQuantidade}" id="campoTabelaQuantidade" value="#{item.quantidade}"/>
                                        <h:inputText binding="#{Previsoes$PrevisaoCadastrar.campoTabelaQuantidadeMudar}" id="campoTabelaQuantidadeMudar"
                                            rendered="false" value="#{item.quantidade}"/>
                                        <f:facet name="header">
                                            <ice:outputText id="textoQuantidade" value="Quantidade Inicial"/>
                                        </f:facet>
                                    </ice:column>
                                    <ice:column binding="#{Previsoes$PrevisaoCadastrar.column5}" id="column5">
                                        <h:outputText binding="#{Previsoes$PrevisaoCadastrar.campoTabelaQuantidadeAuxiliar}" id="campoTabelaQuantidadeAuxiliar" value="#{item.quantidadeAuxiliar}"/>
                                        <f:facet name="header">
                                            <ice:outputText id="textoQuantidadeAuxiliar" value="Quantidade Restante"/>
                                        </f:facet>
                                    </ice:column>
                                    <ice:column binding="#{Previsoes$PrevisaoCadastrar.column4}" id="column4">
                                        <h:commandButton action="#{Previsoes$PrevisaoCadastrar.botaoTabelaExcluir_action}"
                                            binding="#{Previsoes$PrevisaoCadastrar.botaoTabelaExcluir}" id="botaoTabelaExcluir"
                                            image="/resources/botaoTabelaExcluir.jpg" immediate="true" style="text-align: center"/>
                                        <f:facet name="header">
                                            <ice:outputText id="textoExcluir" value="Excluir"/>
                                        </f:facet>
                                    </ice:column>
                                </ice:dataTable>
                                <!-- Paginator da tabela de consulta-->
                                <ice:dataPaginator fastStep="3" for="tabelaPadrao" id="dataPaginatorTbEmpresa" immediate="true" paginator="true"
                                    paginatorMaxPages="5" style="left: 610px; top: 138px; position: absolute">
                                    <f:facet name="first">
                                        <ice:graphicImage style="border:none;" title="Primeira Página" url="./xmlhttp/css/xp/css-images/arrow-first.gif"/>
                                    </f:facet>
                                    <f:facet name="last">
                                        <ice:graphicImage style="border:none;" title="Última Página" url="./xmlhttp/css/xp/css-images/arrow-last.gif"/>
                                    </f:facet>
                                    <f:facet name="previous">
                                        <ice:graphicImage style="border:none;" title="Página Anterior" url="./xmlhttp/css/xp/css-images/arrow-previous.gif"/>
                                    </f:facet>
                                    <f:facet name="next">
                                        <ice:graphicImage style="border:none;" title="Próxima Página" url="./xmlhttp/css/xp/css-images/arrow-next.gif"/>
                                    </f:facet>
                                    <f:facet name="fastforward">
                                        <ice:graphicImage style="border:none;" title="Fast Forward" url="./xmlhttp/css/xp/css-images/arrow-ff.gif"/>
                                    </f:facet>
                                    <f:facet name="fastrewind">
                                        <ice:graphicImage style="border:none;" title="Fast Backwards" url="./xmlhttp/css/xp/css-images/arrow-fr.gif"/>
                                    </f:facet>
                                </ice:dataPaginator>
                                <ice:selectInputDate binding="#{Previsoes$PrevisaoCadastrar.campoTabelaDataInicio}"
                                    converter="#{Previsoes$PrevisaoCadastrar.characterConverter1}" id="campoTabelaDataInicio" immediate="true"
                                    partialSubmit="true" renderAsPopup="true" renderMonthAsDropdown="true" renderYearAsDropdown="true"
                                    style="font-family: Verdana,Arial,Helvetica,sans-serif; left: 552px; top: 96px; position: absolute; width: 170px; z-index: 1" value="#{Previsoes$PrevisaoCadastrar.selectInputDateBean3.date1}"/>
                                <ice:selectInputDate binding="#{Previsoes$PrevisaoCadastrar.campoTabelaDataFim}"
                                    converter="#{Previsoes$PrevisaoCadastrar.characterConverter1}" id="campoTabelaDataFim" immediate="true" partialSubmit="true"
                                    renderAsPopup="true" renderMonthAsDropdown="true" renderYearAsDropdown="true"
                                    style="font-family: Verdana,Arial,Helvetica,sans-serif; left: 792px; top: 96px; position: absolute; width: 170px; z-index: 1" value="#{Previsoes$PrevisaoCadastrar.selectInputDate1Bean.date1}"/>
                                <ice:panelLayout id="painelOpcoes" layout="flow" style="height: 46px; left: 0px; top: 0px; position: absolute; width: 980px; -rave-layout: grid">
                                    <ice:commandButton action="#{Previsoes$PrevisaoCadastrar.botaoNovo_action}" alt="Novo"
                                        binding="#{Previsoes$PrevisaoCadastrar.botaoNovo}" id="botaoNovo" image="/resources/botaoNovo.png" immediate="true"
                                        style="height: 45px; left: 168px; top: 0px; position: absolute; width: 64px" title="Novo" value="Novo"/>
                                    <ice:commandButton action="#{Previsoes$PrevisaoCadastrar.botaoConsultar_action}"
                                        binding="#{Previsoes$PrevisaoCadastrar.botaoConsultar}" id="botaoConsultar" image="/resources/botaoConsultar.png"
                                        immediate="true" style="height: 45px; left: 240px; top: 0px; position: absolute; width: 64px" title="Consultar" value="Consultar"/>
                                    <ice:commandButton action="#{Previsoes$PrevisaoCadastrar.botaoAlterar_action}"
                                        binding="#{Previsoes$PrevisaoCadastrar.botaoAlterar}" id="botaoAlterar" image="/resources/botaoAlterar.png"
                                        immediate="true" style="height: 45px; left: 312px; top: 0px; position: absolute; width: 64px" title="Alterar" value="Alterar"/>
                                    <ice:commandButton action="#{Previsoes$PrevisaoCadastrar.botaoImprimir_action}"
                                        binding="#{Previsoes$PrevisaoCadastrar.botaoImprimir}" id="botaoImprimir" image="/resources/botaoImprimir.png"
                                        style="height: 45px; left: 384px; top: 0px; position: absolute; width: 64px" title="Imprimir" value="Imprimir"/>
                                    <ice:commandButton action="#{Previsoes$PrevisaoCadastrar.botaoCadastrar_action}"
                                        binding="#{Previsoes$PrevisaoCadastrar.botaoCadastrar}" id="botaoCadastrar" image="/resources/botaoSalvar.png"
                                        immediate="true" style="height: 45px; left: 456px; top: 0px; position: absolute; width: 64px" title="Salvar/Cadastrar" value="Cadastrar"/>
                                    <ice:commandButton action="#{Previsoes$PrevisaoCadastrar.botaoLimpar_action}"
                                        binding="#{Previsoes$PrevisaoCadastrar.botaoLimpar}" id="botaoLimpar" image="/resources/botaoLimpar.png"
                                        immediate="true" style="height: 45px; left: 528px; top: 0px; position: absolute; width: 64px" title="Limpar Campos" value="Limpar"/>
                                    <ice:commandButton action="#{Previsoes$PrevisaoCadastrar.botaoSair_action}"
                                        binding="#{Previsoes$PrevisaoCadastrar.botaoSair}" id="botaoSair" image="/resources/botaoSair.png" immediate="true"
                                        partialSubmit="true" style="height: 45px; left: 912px; top: 0px; position: absolute; width: 64px" title="Sair" value="Sair"/>
                                </ice:panelLayout>
                                <ice:outputText id="labelKg"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 264px; top: 384px; position: absolute; text-align: left; width: 45px" value="Kg"/>
                            </ice:panelLayout>
                        </ice:panelGroup>
                    </ice:form>
                </ice:outputBody>
            </body>
        </ice:outputHtml>
    </f:view>
</jsp:root>
